package il.ac.braude.sona.gui.mytables;

import il.ac.braude.sona.entities.SupervisorAction;
import il.ac.braude.sona.gui.list_table.ListTable;
import il.ac.braude.sona.gui.list_table.ListTableFrame;
import il.ac.braude.sona.gui.list_table.ListTableModel;
/**
 * The SuperActionsTableFrame creates GUI for viewing list of recorded supervisor actions 
 * @author  Ofek Ron
 * @author Avihay Avitan
 * @author Nitzan Inbar
 * @author Sasha Rozenthal
 * Group 6,<br>Laboratory in Software Engineering,Ort Braude College.</p>
 *
 */
public class SuperActionsTableFrame extends ListTableFrame<SupervisorAction> {
	
	/**
	 * sets the actions table 
	 * @param model - the table model
	 */
	public void setTable(ListTableModel<SupervisorAction> model) {
	setTitle("Supervisor Actions");
	final ListTable<SupervisorAction> table = new ListTable<SupervisorAction>(model);
	setTable(table);
	showFrame();
	}

}
